package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_suitang_auto_speed", desc = "逐鹿隋唐-自动加速", autoSave = true, uploadCk = true, dataUpload = true, eventName = "chasedeer_accelerate")
public class LogSuiTangAutoSpeed extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityId")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "分组ID", isIndex = true, dataAttribute = "chasedeer_groid")
    private int groupId;
    @FieldTypeAnnotation(desc = "战场id", dataAttribute = "chasedeer_battle")
    private long warTypeId;
    @FieldTypeAnnotation(desc = "小组id", dataAttribute = "chasedeer_teamid")
    private long actGroupId;
    @FieldTypeAnnotation(desc = "加速档位", dataAttribute = "chasedeer_acctype")
    private int speedLimit;
    @FieldTypeAnnotation(desc = "城池id", dataAttribute = "chasedeer_cityid")
    private int cityId;
    @FieldTypeAnnotation(desc = "自动加速次数", dataAttribute = "chasedeer_accnum")
    private long speedCount;
    @FieldTypeAnnotation(desc = "元宝消耗数量", dataAttribute = "chasedeer_accyb")
    private long ingotsCost;

    public LogSuiTangAutoSpeed(int activityId, long userId, int groupId, long warTypeId, long actGroupId, int speedLimit, int cityId, long speedCount, long ingotsCost) {
        this.activityId = activityId;
        this.userId = userId;
        this.groupId = groupId;
        this.warTypeId = warTypeId;
        this.actGroupId = actGroupId;
        this.speedLimit = speedLimit;
        this.cityId = cityId;
        this.speedCount = speedCount;
        this.ingotsCost = ingotsCost;
    }

    public long getUserId() {
        return userId;
    }
}
